<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Dessert House - 店员</title>
<link href="/ChristineCake/css/Management_NoList_Button.css"
	rel="stylesheet" type="text/css" />
</head>

<body>

	<div id="header">
		<div id="logo">
			<img src="/ChristineCake/image/logo.png" alt="logo" width="100%"
				height="100%" />
		</div>
		<div id="logout" align="right">
			<a
				href="
			<%out.println("/ChristineCake/GoodsManagementServlet?name="
					+ request.getParameter("name"));%>
			">返回</a>
		</div>
	</div>

	<div id="menu">
		<ul>
			<li><a
				href="
			<%out.println("/ChristineCake/SaleGoodsServlet?name="
					+ request.getParameter("name"));%>
			">销售</a></li>
			<li><a
				href="
			<%out.println("/ChristineCake/GoodsManagementServlet?name="
					+ request.getParameter("name"));%>
			">产品管理</a></li>
		</ul>
	</div>

	<div id="panel">

		<br />
		<div id="content">
			<b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;请填写下列内容：</b> <br /> <br />

			<form method="POST"
				action="
			<%out.println("/ChristineCake/AddGoodsServlet?name="
					+ request.getParameter("name"));%>
			">
				产品编号：<input type="text" name="goodsId" size="20%"> <br /> <br />
				产品名称：<input type="text" name="goodsName" size="20%"> <br />
				<br /> 价格：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text"
					name="price" size="20%"> <br /> <br />
				数量：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text"
					name="quantity" size="20%"> <br /> <br />
				<jsp:directive.page import="java.sql.Date" />
				<jsp:directive.page import="java.util.Calendar" />
				日期：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<select name="date">
					<%
						Date date = new Date(Calendar.getInstance().getTimeInMillis());
					%>
					<option value="day1">
						<%
							out.println(date);
						%>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					</option>
					<%
						date = new Date(date.getTime() + 24 * 3600000L);
					%>
					<option value="day2">
						<%
							out.println(date);
						%>
					</option>
					<%
						date = new Date(date.getTime() + 24 * 3600000L);
					%>
					<option value="day3">
						<%
							out.println(date);
						%>
					</option>
					<%
						date = new Date(date.getTime() + 24 * 3600000L);
					%>
					<option value="day4">
						<%
							out.println(date);
						%>
					</option>
					<%
						date = new Date(date.getTime() + 24 * 3600000L);
					%>
					<option value="day5">
						<%
							out.println(date);
						%>
					</option>
					<%
						date = new Date(date.getTime() + 24 * 3600000L);
					%>
					<option value="day6">
						<%
							out.println(date);
						%>
					</option>
					<%
						date = new Date(date.getTime() + 24 * 3600000L);
					%>
					<option value="day7">
						<%
							out.println(date);
						%>
					</option>
				</select> <br /> <br /> <input type="submit" name="add" value="添加"
					size="20%" class="button">
			</form>
		</div>
	</div>

	<hr />

	<div id="footer">
		<p>©南京大学软件学院 李冰洁</p>
	</div>

</body>

</html>